CREATE TABLE [dbo].[TTCOSU_POLI]
(
[CO_EMPR] [dbo].[TD_VC_002] NOT NULL,
[CO_SUNA] [dbo].[TD_VC_002] NOT NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NOT NULL,
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST_] NOT NULL,
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NOT NULL,
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST_] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTCOSU_POLI] ADD CONSTRAINT [XPKTTCOSU_POLI] PRIMARY KEY CLUSTERED  ([CO_EMPR], [CO_SUNA]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTCOSU_POLI] ADD CONSTRAINT [TMPARA_CONT_A_TTCOSU_POLI] FOREIGN KEY ([CO_EMPR]) REFERENCES [dbo].[TMPARA_CONT] ([CO_EMPR])
GO
